package org.jeecg.modules.task.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import me.zhyd.oauth.utils.StringUtils;
import org.jeecg.common.system.base.service.impl.JeecgServiceImpl;
import org.jeecg.common.util.UUIDGenerator;
import org.jeecg.modules.task.entity.TaskInfoBase;
import org.jeecg.modules.task.mapper.TaskInfoBaseMapper;
import org.jeecg.modules.task.service.ITaskInfoBaseService;
import org.jeecg.modules.workflow.entity.WorkFlowBase;
import org.jeecg.modules.workflow.entity.WorkFlowBaseAssign;
import org.jeecg.modules.workflow.mapper.WorkFlowBaseMapper;
import org.jeecg.modules.workflow.service.IWorkFlowBaseAssignService;
import org.jeecg.modules.workflow.service.IWorkFlowBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @Description: 任务基础信息
 * @Author: wufanxin
 * @Date:  2021-06-15
 * @Version: V1.0
 */
@Service
public class TaskInfoBaseServiceImpl extends JeecgServiceImpl<TaskInfoBaseMapper, TaskInfoBase> implements ITaskInfoBaseService {

    @Autowired
    private TaskInfoBaseMapper taskInfoBaseMapper;

    @Override
    public List<Map<String, Object>> queryTaskList(Map<String, Object> paramMap) {
        return taskInfoBaseMapper.queryTaskList(paramMap);
    }

    @Override
    public Long queryTaskListTotal(Map<String, Object> paramMap) {
        return taskInfoBaseMapper.queryTaskListTotal(paramMap);
    }

    @Override
    public List<Map<String, Object>> queryHisTaskList(Map<String, Object> paramMap) {
        return taskInfoBaseMapper.queryHisTaskList(paramMap);
    }
    @Override
    public List<Map<String, Object>> queryHisTaskList2(Map<String, Object> paramMap) {
        return taskInfoBaseMapper.queryHisTaskList2(paramMap);
    }

    @Override
    public List<Map<String, Object>> querySyncTaskList(Map<String, Object> paramMap) {
        return taskInfoBaseMapper.querySyncTaskList(paramMap);
    }

    @Override
    public List<Map<String, Object>> queryFinishedTaskList(Map<String, Object> paramMap) {
        return taskInfoBaseMapper.queryFinishedTaskList(paramMap);
    }

    @Override
    public Long queryHisTaskListTotal(Map<String, Object> paramMap) {
        return taskInfoBaseMapper.queryHisTaskListTotal(paramMap);
    }
    @Override
    public Long queryHisTaskListTotal2(Map<String, Object> paramMap) {
        return taskInfoBaseMapper.queryHisTaskListTotal2(paramMap);
    }

    @Override
    public Long querySyncTaskListTotal(Map<String, Object> paramMap) {
        return taskInfoBaseMapper.querySyncTaskListTotal(paramMap);
    }

    @Override
    public Long queryFinishedTaskListTotal(Map<String, Object> paramMap) {
        return taskInfoBaseMapper.queryFinishedTaskListTotal(paramMap);
    }

    @Override
    public Map<String, Object> queryQuickStart(String taskNo) {
        return taskInfoBaseMapper.queryQuickStart(taskNo);
    }

    @Override
    public List<Map<String, Object>> queryAllTaskList(Map<String, Object> paramMap) {
        return taskInfoBaseMapper.queryAllTaskList(paramMap);
    }

    @Override
    public Long queryAllTaskListTotal(Map<String, Object> paramMap) {
        return taskInfoBaseMapper.queryAllTaskListTotal(paramMap);
    }

}
